import request from '@/utils/request'

// 上传图片
export const uplaodImage = (filePath: string, data?: any, callBack?: any) => request.upload('upload/image', 'file', filePath, data, callBack);

// 上传文件
export const uplaodFile = (filePath: string, data?: any, callBack?: any) => request.upload('upload/file', 'file', filePath, data, callBack);